package com.six.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.six.core.entity.Brand;
import com.six.core.vo.Result;

/**
* @author wang
* @description 针对表【sto_brand】的数据库操作Service
* @createDate 2023-02-27 15:19:23
*/
public interface BrandService extends IService<Brand> {
    //分页查询
    Result seleAllBrand(Integer currentPage, Integer pageSize, Brand brand);

    //修改品牌
    Result updateBrand(Brand brand);

    //增加
    Result insertBrand(Brand brand);

    //删除
    Result deleteBrand(Integer id);

    //查询所有的品牌--下拉框
    Result selectAllBrand();

    Brand seleBybrandname(Brand brand);
}
